package com.cskaoyan.service;

import com.cskaoyan.model.admin.bo.ListBo;
import com.cskaoyan.model.admin.vo.AdBaseData;
import com.cskaoyan.model.admin.vo.WxOrderGoodsVo;
import com.cskaoyan.model.vx.bo.WxOrderCommentBo;
import com.cskaoyan.model.vx.vo.WxOrderDetailVo;

import java.util.Map;

/**
 * @description: TODO
 * @author: jiaolei
 * @date: 2021/12/2 15:58
 */
public interface WxOrderService {
    AdBaseData list(ListBo listBo, Short showType,Integer userId);

    WxOrderDetailVo detail(Integer orderId);

    int cancel(Integer orderId, Integer userId);

    int delete(Integer orderId);

    int comment(WxOrderCommentBo wxOrderCommentBo);

    Integer refund(Integer orderId);

    Integer confirm(Integer orderId);

    WxOrderGoodsVo goods(Integer orderId, Integer goodsId);

    Map wxOrderSubmit(Integer addressId, Integer cartId, Integer couponId, String message, Integer userCouponId, Integer userId);

    void updateStatus(Integer orderId);
}
